Packetery\Module\Checkout\ShippingRateFactory S

Total Complexity 31
Dependencies 15
Dependents 3
Total lines 228
Lines of code 104
Logical lines of code 66
Comment lines 65
Methods 7
Properties 9

Methods 7

Method Rating Maintainability Complexity Lines of code
canCreateShippingRate()
A
54 11 18
createShippingRates()
A
48 8 36
createShippingRateAndApplyTaxes()
S
56 5 17
createShippingRateOfCarrier()
S
57 3 16
isFreeShippingApplicable()
S
79 2 3
__construct()
S
63 1 11
formatCarrierNameWithFreeShipping()
S
78 1 3